package org.csc.sss.core.exception;

import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestControllerAdvice
public class MyControllerAdvice {

    @ExceptionHandler(value = SssException.class)
    public String SssException(SssException s) {
        return s.getMessage();
    }

}
